
<%@ page import="your_car_status.Diagnostic" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'diagnostic.label', default: 'Diagnostic')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-diagnostic" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div id="show-diagnostic" class="content scaffold-show" role="main">
			<h1><g:message code="Show Diagnostic" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list diagnostic">
			
				<g:if test="${diagnosticInstance?.paint}">
				<li class="fieldcontain">
					<span id="paint-label" class="property-label"><g:message code="diagnostic.paint.label" default="Paint" /></span>
					
						<span class="property-value" aria-labelledby="paint-label"><g:fieldValue bean="${diagnosticInstance}" field="paint"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.jack}">
				<li class="fieldcontain">
					<span id="jack-label" class="property-label"><g:message code="diagnostic.jack.label" default="Jack" /></span>
					
						<span class="property-value" aria-labelledby="jack-label"><g:fieldValue bean="${diagnosticInstance}" field="jack"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.lugWrench}">
				<li class="fieldcontain">
					<span id="lugWrench-label" class="property-label"><g:message code="diagnostic.lugWrench.label" default="Lug Wrench" /></span>
					
						<span class="property-value" aria-labelledby="lugWrench-label"><g:fieldValue bean="${diagnosticInstance}" field="lugWrench"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.lugNut}">
				<li class="fieldcontain">
					<span id="lugNut-label" class="property-label"><g:message code="diagnostic.lugNut.label" default="Lug Nut" /></span>
					
						<span class="property-value" aria-labelledby="lugNut-label"><g:fieldValue bean="${diagnosticInstance}" field="lugNut"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.extraTire}">
				<li class="fieldcontain">
					<span id="extraTire-label" class="property-label"><g:message code="diagnostic.extraTire.label" default="Extra Tire" /></span>
					
						<span class="property-value" aria-labelledby="extraTire-label"><g:fieldValue bean="${diagnosticInstance}" field="extraTire"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.horn}">
				<li class="fieldcontain">
					<span id="horn-label" class="property-label"><g:message code="diagnostic.horn.label" default="Horn" /></span>
					
						<span class="property-value" aria-labelledby="horn-label"><g:fieldValue bean="${diagnosticInstance}" field="horn"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.seats}">
				<li class="fieldcontain">
					<span id="seats-label" class="property-label"><g:message code="diagnostic.seats.label" default="Seats" /></span>
					
						<span class="property-value" aria-labelledby="seats-label"><g:fieldValue bean="${diagnosticInstance}" field="seats"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.electricSystem}">
				<li class="fieldcontain">
					<span id="electricSystem-label" class="property-label"><g:message code="diagnostic.electricSystem.label" default="Electric System" /></span>
					
						<span class="property-value" aria-labelledby="electricSystem-label"><g:fieldValue bean="${diagnosticInstance}" field="electricSystem"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.handles}">
				<li class="fieldcontain">
					<span id="handles-label" class="property-label"><g:message code="diagnostic.handles.label" default="Handles" /></span>
					
						<span class="property-value" aria-labelledby="handles-label"><g:fieldValue bean="${diagnosticInstance}" field="handles"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.locks}">
				<li class="fieldcontain">
					<span id="locks-label" class="property-label"><g:message code="diagnostic.locks.label" default="Locks" /></span>
					
						<span class="property-value" aria-labelledby="locks-label"><g:fieldValue bean="${diagnosticInstance}" field="locks"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.controlBottom}">
				<li class="fieldcontain">
					<span id="controlBottom-label" class="property-label"><g:message code="diagnostic.controlBottom.label" default="Control Bottom" /></span>
					
						<span class="property-value" aria-labelledby="controlBottom-label"><g:fieldValue bean="${diagnosticInstance}" field="controlBottom"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.lightsandindicators}">
				<li class="fieldcontain">
					<span id="lightsandindicators-label" class="property-label"><g:message code="diagnostic.lightsandindicators.label" default="Lightsandindicators" /></span>
					
						<span class="property-value" aria-labelledby="lightsandindicators-label"><g:fieldValue bean="${diagnosticInstance}" field="lightsandindicators"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.cleanliness}">
				<li class="fieldcontain">
					<span id="cleanliness-label" class="property-label"><g:message code="diagnostic.cleanliness.label" default="Cleanliness" /></span>
					
						<span class="property-value" aria-labelledby="cleanliness-label"><g:fieldValue bean="${diagnosticInstance}" field="cleanliness"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.airConditioning}">
				<li class="fieldcontain">
					<span id="airConditioning-label" class="property-label"><g:message code="diagnostic.airConditioning.label" default="Air Conditioning" /></span>
					
						<span class="property-value" aria-labelledby="airConditioning-label"><g:fieldValue bean="${diagnosticInstance}" field="airConditioning"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.audioSystem}">
				<li class="fieldcontain">
					<span id="audioSystem-label" class="property-label"><g:message code="diagnostic.audioSystem.label" default="Audio System" /></span>
					
						<span class="property-value" aria-labelledby="audioSystem-label"><g:fieldValue bean="${diagnosticInstance}" field="audioSystem"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.alarm}">
				<li class="fieldcontain">
					<span id="alarm-label" class="property-label"><g:message code="diagnostic.alarm.label" default="Alarm" /></span>
					
						<span class="property-value" aria-labelledby="alarm-label"><g:fieldValue bean="${diagnosticInstance}" field="alarm"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.glasses}">
				<li class="fieldcontain">
					<span id="glasses-label" class="property-label"><g:message code="diagnostic.glasses.label" default="Glasses" /></span>
					
						<span class="property-value" aria-labelledby="glasses-label"><g:fieldValue bean="${diagnosticInstance}" field="glasses"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.wiper}">
				<li class="fieldcontain">
					<span id="wiper-label" class="property-label"><g:message code="diagnostic.wiper.label" default="Wiper" /></span>
					
						<span class="property-value" aria-labelledby="wiper-label"><g:fieldValue bean="${diagnosticInstance}" field="wiper"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.odometer}">
				<li class="fieldcontain">
					<span id="odometer-label" class="property-label"><g:message code="diagnostic.odometer.label" default="Odometer" /></span>
					
						<span class="property-value" aria-labelledby="odometer-label"><g:fieldValue bean="${diagnosticInstance}" field="odometer"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.allowedKM}">
				<li class="fieldcontain">
					<span id="allowedKM-label" class="property-label"><g:message code="diagnostic.allowedKM.label" default="Allowed KM" /></span>
					
						<span class="property-value" aria-labelledby="allowedKM-label"><g:fieldValue bean="${diagnosticInstance}" field="allowedKM"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.water}">
				<li class="fieldcontain">
					<span id="water-label" class="property-label"><g:message code="diagnostic.water.label" default="Water" /></span>
					
						<span class="property-value" aria-labelledby="water-label"><g:fieldValue bean="${diagnosticInstance}" field="water"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.engineOil}">
				<li class="fieldcontain">
					<span id="engineOil-label" class="property-label"><g:message code="diagnostic.engineOil.label" default="Engine Oil" /></span>
					
						<span class="property-value" aria-labelledby="engineOil-label"><g:fieldValue bean="${diagnosticInstance}" field="engineOil"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.powerSteeringFluid}">
				<li class="fieldcontain">
					<span id="powerSteeringFluid-label" class="property-label"><g:message code="diagnostic.powerSteeringFluid.label" default="Power Steering Fluid" /></span>
					
						<span class="property-value" aria-labelledby="powerSteeringFluid-label"><g:fieldValue bean="${diagnosticInstance}" field="powerSteeringFluid"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.transmissionFluid}">
				<li class="fieldcontain">
					<span id="transmissionFluid-label" class="property-label"><g:message code="diagnostic.transmissionFluid.label" default="Transmission Fluid" /></span>
					
						<span class="property-value" aria-labelledby="transmissionFluid-label"><g:fieldValue bean="${diagnosticInstance}" field="transmissionFluid"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.brakeFluid}">
				<li class="fieldcontain">
					<span id="brakeFluid-label" class="property-label"><g:message code="diagnostic.brakeFluid.label" default="Brake Fluid" /></span>
					
						<span class="property-value" aria-labelledby="brakeFluid-label"><g:fieldValue bean="${diagnosticInstance}" field="brakeFluid"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.warningLights}">
				<li class="fieldcontain">
					<span id="warningLights-label" class="property-label"><g:message code="diagnostic.warningLights.label" default="Warning Lights" /></span>
					
						<span class="property-value" aria-labelledby="warningLights-label"><g:fieldValue bean="${diagnosticInstance}" field="warningLights"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.shiftSoftness}">
				<li class="fieldcontain">
					<span id="shiftSoftness-label" class="property-label"><g:message code="diagnostic.shiftSoftness.label" default="Shift Softness" /></span>
					
						<span class="property-value" aria-labelledby="shiftSoftness-label"><g:fieldValue bean="${diagnosticInstance}" field="shiftSoftness"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.shiftRigidity}">
				<li class="fieldcontain">
					<span id="shiftRigidity-label" class="property-label"><g:message code="diagnostic.shiftRigidity.label" default="Shift Rigidity" /></span>
					
						<span class="property-value" aria-labelledby="shiftRigidity-label"><g:fieldValue bean="${diagnosticInstance}" field="shiftRigidity"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.breakSystem}">
				<li class="fieldcontain">
					<span id="breakSystem-label" class="property-label"><g:message code="diagnostic.breakSystem.label" default="Break System" /></span>
					
						<span class="property-value" aria-labelledby="breakSystem-label"><g:fieldValue bean="${diagnosticInstance}" field="breakSystem"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.handbrake}">
				<li class="fieldcontain">
					<span id="handbrake-label" class="property-label"><g:message code="diagnostic.handbrake.label" default="Handbrake" /></span>
					
						<span class="property-value" aria-labelledby="handbrake-label"><g:fieldValue bean="${diagnosticInstance}" field="handbrake"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.terminalsConditions}">
				<li class="fieldcontain">
					<span id="terminalsConditions-label" class="property-label"><g:message code="diagnostic.terminalsConditions.label" default="Terminals Conditions" /></span>
					
						<span class="property-value" aria-labelledby="terminalsConditions-label"><g:fieldValue bean="${diagnosticInstance}" field="terminalsConditions"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.physicalState}">
				<li class="fieldcontain">
					<span id="physicalState-label" class="property-label"><g:message code="diagnostic.physicalState.label" default="Physical State" /></span>
					
						<span class="property-value" aria-labelledby="physicalState-label"><g:fieldValue bean="${diagnosticInstance}" field="physicalState"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.physicalStateOfWire}">
				<li class="fieldcontain">
					<span id="physicalStateOfWire-label" class="property-label"><g:message code="diagnostic.physicalStateOfWire.label" default="Physical State Of Wire" /></span>
					
						<span class="property-value" aria-labelledby="physicalStateOfWire-label"><g:fieldValue bean="${diagnosticInstance}" field="physicalStateOfWire"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.vehicleLicense}">
				<li class="fieldcontain">
					<span id="vehicleLicense-label" class="property-label"><g:message code="diagnostic.vehicleLicense.label" default="Vehicle License" /></span>
					
						<span class="property-value" aria-labelledby="vehicleLicense-label"><g:fieldValue bean="${diagnosticInstance}" field="vehicleLicense"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.policyInssurance}">
				<li class="fieldcontain">
					<span id="policyInssurance-label" class="property-label"><g:message code="diagnostic.policyInssurance.label" default="Policy Inssurance" /></span>
					
						<span class="property-value" aria-labelledby="policyInssurance-label"><g:fieldValue bean="${diagnosticInstance}" field="policyInssurance"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.verificationProof}">
				<li class="fieldcontain">
					<span id="verificationProof-label" class="property-label"><g:message code="diagnostic.verificationProof.label" default="Verification Proof" /></span>
					
						<span class="property-value" aria-labelledby="verificationProof-label"><g:fieldValue bean="${diagnosticInstance}" field="verificationProof"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.date}">
				<li class="fieldcontain">
					<span id="date-label" class="property-label"><g:message code="diagnostic.date.label" default="Date" /></span>
					
						<span class="property-value" aria-labelledby="date-label"><g:formatDate date="${diagnosticInstance?.date}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.mechanicalTechnician}">
				<li class="fieldcontain">
					<span id="mechanicalTechnician-label" class="property-label"><g:message code="diagnostic.mechanicalTechnician.label" default="Mechanical Technician" /></span>
					
						<span class="property-value" aria-labelledby="mechanicalTechnician-label">${diagnosticInstance?.mechanicalTechnician?.name}</span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.observations}">
				<li class="fieldcontain">
					<span id="observations-label" class="property-label"><g:message code="diagnostic.observations.label" default="Observations" /></span>
					
						<span class="property-value" aria-labelledby="observations-label"><g:fieldValue bean="${diagnosticInstance}" field="observations"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${diagnosticInstance?.vehicle}">
				<li class="fieldcontain">
					<span id="vehicle-label" class="property-label"><g:message code="diagnostic.vehicle.label" default="Vehicle" /></span>
					
						<span class="property-value" aria-labelledby="vehicle-label"><g:link action="showVehicle" id="${diagnosticInstance?.vehicle?.id}">${diagnosticInstance?.vehicle?.licensePlate}</g:link></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:actionSubmit class="save" action="listDiagnostic" value="${message(code: 'Return')}" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
